package com.wx.config;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@NoArgsConstructor
@ConfigurationProperties("rpc.server")
public class RegisterProperties {

    private String registerHost="localhost";

    private Integer registerPort=6379;

    private String consumerPackageName="com.wx";

    private String providerPackageName="com.wx";

    private Integer serverPort=8888;
}
